package com.example.transfer;

import org.bytesoft.bytetcc.supports.springcloud.config.SpringCloudConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ImportResource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement
@EnableDiscoveryClient
@Import(SpringCloudConfiguration.class)
@ImportResource({ "classpath:bytetcc-supports-springcloud.xml"})
@EnableFeignClients(basePackages = "com.example")
@SpringBootApplication
public class TransferApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(TransferApplication.class).run(args);
    }

}
